//
//  ArticleReturnJson.swift
//  Amicool
//
//  Created by Mac  on 2017/6/9.
//  Copyright © 2017年 Mac . All rights reserved.
//

import Foundation

class ArticleReturnJson:NSObject{
    
    var name:String?
    var thumb:String?
    var content:String?
    var kcmc:String?
    var technology:String?
    var  update_time:String?
    var desc:String?
    
    class func ArticleReturnJsonWithDict(_ dict:NSDictionary?)->ArticleReturnJson?{
        
        if dict == nil {
            return nil
        }
        
        let model:ArticleReturnJson?=ArticleReturnJson()
        if model != nil{
            
        model?.name = dict!["name"] as? String
        model?.thumb = dict!["thumb"] as? String
        model?.content = dict!["content"] as? String
        model?.kcmc = dict!["kcmc"] as? String
        model?.technology = dict!["technology"] as? String
        model?.update_time = dict!["updata_time"] as? String
        model?.desc = dict!["description"] as? String
        }
        return model
    }
    
    
    
    
    
}
